const Mock = require("mockjs");

const data = Mock.mock({
  "tabList|8-10": [
    {
      title: "@ctitle(2)",
      id: "@id",
      props: {
        "banner|3-6": ["@image(100x80, @color, img)"],
        "subList|6-10": [
          {
            title: "@ctitle",
            url: "@image(80x120, @color, img)",
            id: "@id",
          },
        ],
      },
    },
  ],
  "productList|10-20": [
    {
      title: "@ctitle",
      url: "@image(120x100, @color, img)",
      desc: "@cword(10, 20)",
      "price|10-1000": 1,
      "maxCount|2-20": 1,
      "colors": ["红色", "黄色", "粉色", "绿色", "蓝色"],
      "sizes": ["150", "155", "160", "165", "170", "175", "180"],
			"id": '@id'
    },
  ],
});



module.exports = data